{extend name="public/layout" /}
{block name="title"}
{$meetingInfo.meeting_name}
{/block}
{block name="head"}
<style>
    .weui_bar__item_on {
        background: #0085cd;
        color: #fff;
    }
</style>
<script src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
    wx.config({$options | json_encode});
    wx.ready(function(){
        var data={
            title: '{$meetingInfo.title}', // 分享标题
            desc: '{$meetingInfo.meeting_name}--会议资讯', // 分享描述
            link: '{:get_current_url()}', // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
            imgUrl: '{:empty($meetingInfo["thumb"])?"":strstr("http",$meetingInfo["thumb"])?$meetingInfo["thumb"]:$Request.domain.$meetingInfo["thumb"]}', // 分享图标
            success: function () {
                // 用户确认分享后执行的回调函数
            },
            cancel: function () {
                // 用户取消分享后执行的回调函数
            }
        };
        wx.onMenuShareTimeline(data);
        wx.onMenuShareAppMessage(data);
        wx.onMenuShareQQ(data);
        wx.onMenuShareWeibo(data);
        wx.onMenuShareQZone(data);

    });
</script>
{/block}
{block name="body"}
<div class="mcm-head" style="position:relative">
    <div class="head-left">
        <a href="javascript:history.back(-1)" class="link">
            <span class="iconfont icon-zuoyou1"></span>
        </a>
    </div>
    <div class="head-title">
        {$meetingInfo.meeting_name}会议资讯
    </div>
</div>

<div  class="news-info-box">
    <h1 class="news-title">{$meetingInfo.title}</h1>
    <div class="news-info">
        发布日期：{$meetingInfo.create_time}<br>
        所属会议：{$meetingInfo.meeting_name}
    </div>
    {notempty name="meetingInfo.thumb"}
    <img src="{$meetingInfo.thumb}" alt="">
    {/notempty}
    {$meetingInfo.content}
</div>
{/block}
{block name="js"}
{/block}
